IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[DeleteClienteByIdDistrito]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[DeleteClienteByIdDistrito]
GO

CREATE PROCEDURE [dbo].[DeleteClienteByIdDistrito]
(
	@IdDistrito int
)
AS
BEGIN
	SET NOCOUNT ON

	DELETE FROM [Cliente]
	WHERE [IdDistrito] = @IdDistrito

	SET NOCOUNT OFF
END

GO
